package com.tongren.framework.fragment;


import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentTransaction;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.tongren.framework.R;
import com.tongren.framework.constants.ConstantValues;
import com.tongren.framework.core.BaseFragment;
import com.tongren.framework.core.ITabFragment;
import com.tongren.framework.maintabfragment.HeaderListFragment;
import com.tongren.framework.maintabfragment.MainFragment;
import com.tongren.framework.maintabfragment.MeFragment;
import com.tongren.framework.maintabfragment.MiddleFragment;
import com.tongren.framework.widgets.tab.TabLayout;

import java.util.ArrayList;

/**
 * A simple {@link Fragment} subclass.
 */
public class NotifyFragment extends BaseFragment implements ITabFragment,View.OnClickListener{

    public static NotifyFragment newInstance(int page) {
        NotifyFragment fragment = new NotifyFragment();
        Bundle bundle = new Bundle();
        bundle.putInt(ConstantValues.KEY_FRAGMENT_PAGE, page);
        fragment.setArguments(bundle);
        return fragment;
    }

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
//        enableLazyLoad();
    }

    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container,
                             Bundle savedInstanceState) {
        // Inflate the layout for this fragment
        return inflater.inflate(R.layout.fragment_notify, container, false);
    }
    @Override
    public void setUpView(View view) {
    }

    @Override
    public void setUpData() {
    }

    @Override
    public void onClick(View view) {

    }

    @Override
    public void onMenuItemClick() {

    }

    @Override
    public BaseFragment getFragment() {
            return this;
    }

}
